﻿using CID.Domain.Users;

namespace CID.Domain.Persistence.Mappings.Users
{
    public class UserRoleAssignmentMap : EntityMap<UserRoleAssignment>
    {
        public UserRoleAssignmentMap() : base()
        {
            Map(x => x.UserRole).Not.Nullable();
            References<User>(x => x.User);
        }
    }
}
